package com.terren.spider.entity.core;

import com.terren.spider.entity.BasicEntity;

public class Regular extends BasicEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 797612435383264527L;
	private Integer regularId;
	private String select;
	private String attr;
	private String regex;
	private String regulartype;
	private Integer selectorType = 0; // 抓取页面 选择器选择 CSS (0)     |  XPATH  (1)
	private Integer entryId;
	
	private String desc;//描述
	private String fieldtype;//字段类型 string ,double ,date
	private String format;//格式标准
	
	
	
	
	public String getRegex() {
		return regex;
	}
	public void setRegex(String regex) {
		this.regex = regex;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	public String getFieldtype() {
		return fieldtype;
	}
	public void setFieldtype(String fieldtype) {
		this.fieldtype = fieldtype;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Integer getSelectorType() {
		return selectorType;
	}
	public void setSelectorType(Integer selectorType) {
		this.selectorType = selectorType;
	}
	public Integer getRegularId() {
		return regularId;
	}
	public void setRegularId(Integer regularId) {
		this.regularId = regularId;
	}
	public String getSelect() {
		return select;
	}
	public void setSelect(String select) {
		this.select = select;
	}
	public String getAttr() {
		return attr;
	}
	public void setAttr(String attr) {
		this.attr = attr;
	}
	public String getRegulartype() {
		return regulartype;
	}
	public void setRegulartype(String regulartype) {
		this.regulartype = regulartype;
	}
	public Integer getEntryId() {
		return entryId;
	}
	public void setEntryId(Integer entryId) {
		this.entryId = entryId;
	}
	
}
